
import request from "@/axios"

export function save(params){
    return request.post('/menu/save',params);
}


export function checkRole(params){
    return request.get('/menu/checkRole?roleId='+params.roleId,params);
}


export function remove(params){
    return request.post('/menu/delete',params);
}


export function saveRoleMenu(params){
    return request.post('/menu/saveRoleMenu',params);
}

export function tree(params){
    return request.post('/menu/tree',params);
}